package com.changgou.order.feign;

import com.changgou.pojo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient("order")
@RequestMapping("/order")
public interface OrderFeign {
    @PostMapping("/add")
    public void add(@RequestBody Order order);
}
